/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package OLDSTUFF.ClassAlgebra;

/**
 *
 * @author Martin Haulrich
 */
public class ZeroProbExpr implements ProbExpr {

    @Override
    public String toString() {
        return "0";
    }


    @Override
    public Object clone() throws CloneNotSupportedException {
        /**
         * @TODO The API dictates that by convention this method should be implemented useing super.clone(). Consider changing the code to do this.
         */
        return new ZeroProbExpr();
    }


    @Override
    public boolean equals(Object o) {
        //  System.err.println("Zero");
        if (o instanceof ZeroProbExpr) {
            return true;
        }
        return false;
    }


    @Override
    public int hashCode() {
       
        return -12;
    }
}
